import 'dart:ui';

import 'package:fish_redux/fish_redux.dart';

enum GlobalAction { changeThemeColor, onChangeUserInfo }

class GlobalActionCreator {
  static Action onchangeThemeColor() {
    return const Action(GlobalAction.changeThemeColor);
  }

  static Action onChangeUserInfo(Map<String, dynamic> info) {
    return Action(GlobalAction.onChangeUserInfo, payload: info);
  }
}
